package com.kcht.itsed.mws.aleframework.intf;

import com.kcht.itsed.mws.alemodel.LRSpec;

/**
 * 逻辑阅读器容器
 * 逻辑阅读器关联于活动订阅，当他们发生变化的时候，通过此接口，实现各种两者联动的逻辑
 * 
 * @author 张文硕
 *
 */
public interface ILogicalReaderContainer {

	void updateLRSpec(String lrSpecName, LRSpec lrSpec);

	void removeLRSpec(String lrSpecName);

	boolean isLrReferencesByActiveSpec(String lrSpecName);

	void bindActiveEcSpecToLr(String ecSpecName, String lrName);

	void bindActiveCcSpecToLr(String ccSpecName, String lrName);

	void removeLrEcRelation(String ecSpecName);

	void removeLrCcRelation(String ccSpecName);
	
	LRSpec getLRSpec(String lrSpecName);
	
}
